package com.geotmt.billingcenter.common.entry;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Description 成本Base
 * @Author      yanghanwei
 * @Mail        yanghanwei@geotmt.com
 * @Date        2019/3/9 13:56
 * @Version     v1
 **/
@Data
public class CostBaseEntry {

    /**
     * id
     */
    @ApiModelProperty(name = "id", value = "id")
    private Integer id;

    /**
     * 规则id
     */
    @ApiModelProperty(name = "rId", value = "规则id")
    private Integer rId;

    /**
     * 上游数据源id
     */
    @ApiModelProperty(name = "dsId", value = "上游数据源id")
    private Integer dsId;

    /**
     * 数据源简称
     */
    @ApiModelProperty(name = "dsName", value = "数据源简称")
    private String dsName;

    /**
     * 数据源全称
     */
    @ApiModelProperty(name = "dsFullName", value = "数据源全称")
    private String dsFullName;

    /**
     * 外部接口 id
     */
    @ApiModelProperty(name = "outInterfaceId", value = "外部接口 id")
    private Integer outInterfaceId;

    /**
     * 外部接口名
     */
    @ApiModelProperty(name = "outInterfaceName", value = "外部接口名")
    private String outInterfaceName;

    /**
     * 收费模式 1：查询计费 2： 查得计费 3.查询阶梯计费 4.查得阶梯计费 5.包年
     * 改为 1.按量计费  2.阶梯计费 3.包年
     */
    @ApiModelProperty(name = "feeFlag", value = "收费模式 1.按量计费  2.阶梯计费 3.包年")
    private Integer feeFlag;

    /**
     * 1：非打包接口  2：打包接口
     */
    @ApiModelProperty(name = "label", value = "1：非打包接口  2：打包接口")
    private Integer label;

    /**
     * 生效时间
     */
    @ApiModelProperty(name = "effectTime", value = "生效时间")
    private Date effectTime;

    /**
     * 创建人
     */
    @ApiModelProperty(name = "createUserId", value = "创建人")
    private Integer createUserId;

    /**
     * 创建人名
     */
    @ApiModelProperty(name = "createUserName", value = "创建人名")
    private String createUserName;

    /**
     * 创建时间
     */
    @ApiModelProperty(name = "createTime", value = "创建时间")
    private Date createTime;

    /**
     * 更新人
     */
    @ApiModelProperty(name = "updateUserId", value = "更新人")
    private Integer updateUserId;

    /**
     * 更新人名
     */
    @ApiModelProperty(name = "updateUserName", value = "更新人名")
    private String updateUserName;

    /**
     * 更新时间
     */
    @ApiModelProperty(name = "updateTime", value = "更新时间")
    private Date updateTime;

    /**
     * 状态
     */
    @ApiModelProperty(name = "status", value = "状态")
    private Integer status;

    /**
     * 备注
     */
    @ApiModelProperty(name = "desc", value = "备注")
    private String desc;

    /**
     * consume / cost
     */
    @ApiModelProperty(name = "type", value = "consume / cost")
    private String type;

    /**
     * curr / his
     */
    @ApiModelProperty(name = "sign", value = "curr / his")
    private String sign;

}
